package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.RatePay;
import com.xmy.cultivate.mapper.RatePayMapper;
import com.xmy.cultivate.service.IRatePayService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 缴费率具体缴费人数 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
@Service
public class RatePayServiceImpl extends ServiceImpl<RatePayMapper, RatePay> implements IRatePayService {

    @Autowired
    RatePayMapper ratePayMapper;


    @Override
    public List<RatePay> getRatePayByStudentId(Integer yearPart, Integer quarterNum, Integer lessonType, String addDate, Long studentId, Long subjectsId, Integer type) {
        return ratePayMapper.getRatePayByStudentIdV2(yearPart, quarterNum, lessonType, addDate, studentId, subjectsId, type);
    }

}
